package com.project.common.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @author: 陈刚
 * @blame:
 * @date: 2022/11/23 23:31
 **/
@Data
@Configuration
public class WeiXinConfig {
    /**
     * 设置微信小程序的appid
     */
    @Value("${weixian.appId}")
    private String appId;

    /**
     * 设置微信小程序的Secret
     */
    @Value("${weixian.secret}")
    private String secret;
}
